package com.ucarbon.ucarbon.entity.options;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 柱状图参数类
 * </p>
 *
 * @author XuGaoran
 * @since 2024-01-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BarOptions {
    /**
     * title: "柱状图",
     * boundaryGap: [0, 0.001],
     * country: ['Brazil', 'Indonesia', 'USA', 'India', 'China', 'World'],
     * year: "2001",
     * countryData: [18203, 23489, 29034, 104970, 131744, 630230]
     */
    /**
     * 标题
     */
    private String title;

    /**
     * 边界gap
     */
    private List<Double> boundaryGap;

    /**
     * 城市名称列表
     */
    private List<String> country;

    /**
     * 年份数据
     */
    private String year;

    /**
     * 城市对应数据
     */
    private List<Long> countryData;
}
